//
//  ST_BootWeChatHandle.swift
//  btvideo
//
//  Created by Jason on 2021/11/1.
//  Copyright © 2021 JarvanZhang. All rights reserved.
//

import Foundation


class ST_BootWeChatHandle:NSObject,WXApiDelegate {
    
    func onReq(_ req: BaseReq) {
        
        print("微信消息 onReq----11----",req)
        
    }
    
    func onResp(_ resp: BaseResp) {
        
        print("微信消息 onResp----22----",resp)
        if let rp = resp as? SendAuthResp,let code = rp.code{
            NotificationCenter.default.post(name: Notification.Name.wx_login_finished, object: nil, userInfo: ["code":code])
        }
    }
}
